package com.xyh.flowershop.vo.req.type;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author 小约翰可汗
 * @className TypeEditReqVo
 * @createTime 2024/4/121:39
 */
@Data
public class TypeEditReqVo {

    @Schema(description = "分类编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String typeId;

    @Schema(description = "分类名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String typeName;

    @Schema(description = "分类图片地址", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String typeImgUrl;

    @Schema(description = "是否为父节点", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private Boolean haveChild;

    @Schema(description = "父节点", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String parentTypeId;
}
